package com.woniuxy.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagsResidentRelationMapper {
    //查询居民当前所有的疾病标签id
    List<Integer> findLabelIdsByResidentId(Integer id);

    Integer batchDelete(@Param("residentId") Integer residentId, @Param("labelIds") List<Integer> labelIds);

    Integer batchInsert(@Param("residentId") Integer residentId, @Param("labelIds") List<Integer> labelIds);
}
